/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.zcm.modules.xgb.entity;

import com.zcm.common.persistence.DataEntity;
import org.hibernate.validator.constraints.Length;

/**
 * xgbBoardDown
 * @author www
 * @version 2018-10-07
 */
public class XgbHistoryData{

	private static final long serialVersionUID = 1L;
	private String symbol;		// symbol
	private String title;		// title
	private String reason;		// reason
	private Double curPrice;		// cur_price
	private Double pxChangeRate;		// px_change_rate
	private Integer time;		// last_board_time
	private Integer continueBoardCount;		// continue_board_count
	private String day;		// day
	private String type;

	public Double getCurPrice() {
		return curPrice;
	}

	public void setCurPrice(Double curPrice) {
		this.curPrice = curPrice;
	}

	public Double getPxChangeRate() {
		return pxChangeRate;
	}

	public void setPxChangeRate(Double pxChangeRate) {
		this.pxChangeRate = pxChangeRate;
	}


	public Integer getContinueBoardCount() {
		return continueBoardCount;
	}

	public void setContinueBoardCount(Integer continueBoardCount) {
		this.continueBoardCount = continueBoardCount;
	}

	public XgbHistoryData() {
		super();
	}


	@Length(min=1, max=32, message="symbol长度必须介于 1 和 32 之间")
	public String getSymbol() {
		return symbol;
	}

	public void setSymbol(String symbol) {
		this.symbol = symbol;
	}
	
	@Length(min=0, max=32, message="title长度必须介于 0 和 32 之间")
	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}
	
	public String getReason() {
		return reason;
	}

	public void setReason(String reason) {
		this.reason = reason;
	}


	public String getDay() {
		return day;
	}

	public void setDay(String day) {
		this.day = day;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public Integer getTime() {
		return time;
	}

	public void setTime(Integer time) {
		this.time = time;
	}
}